#include <mathematics/Circle.h>

namespace ne
{
    Circle::Circle(const Vector2 &v, const real r, const real b, const real e)
        : center(v),
          radius(r),
          beginAngle(b),
          endAngle(e)
    {
    }

    Circle::Circle(const Circle &c)
        : center(c.center),
          radius(c.radius),
          beginAngle(c.beginAngle),
          endAngle(c.endAngle)
    {
    }

    Circle& Circle::operator = (const Circle &c)
    {
        center = c.center;
        radius = c.radius;
        beginAngle = c.beginAngle;
        endAngle = c.endAngle;
        return *this;
    }

    void Circle::redefine(const Vector2 &v, const real r, const real b, const real e)
    {
        center = v;
        radius = r;
        beginAngle = b;
        endAngle = e;
    }

    GeometryClass Circle::getClass() const
    {
        return GC_CIRCLE;
    }

    Circle::~Circle()
    {
    }
}
